package com.cjl.dental_clinic.Req;

import com.cjl.dental_clinic.entity.Patient;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;
import java.util.List;

/**
 * @description:
 * @author: cjl
 * @time: 2024/04/13 21:30
 */
@Data
@Accessors(chain = true)
public class PatientReq extends Patient {
    // 医生姓名
    private String doctorName;
    // 处方日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date prescriptionDate;
    // 处方内容
    private String perText;
    // 处方id
    private Integer preId;
    // 药品列表
    List<MedicineReq> medicineList;
}
